package com.senken.entity;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotations.IdType;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;

/**
 *
 * 
 *
 */
public class Express implements Serializable {

	@TableField(exist = false)
	private static final long serialVersionUID = 1L;

	/** 主键 */
	@TableId(type = IdType.AUTO)
	private Integer id;

	/** 寄件人 */
	private String sendname;

	/** 寄件人电话 */
	private String sendphone;

	/** 寄货地址 */
	private String sendaddress;

	/** 收件人 */
	private String receivename;

	/** 收件人电话 */
	private String receivephone;

	/** 收件地址 */
	private String receiveaddress;

	/** 快递单号 */
	private String expresswo;

	/** 状态 */
	private Integer state;

	/** 寄件时间 */
	@JsonFormat(pattern = "yyyy-MM-dd",timezone="GMT+8")
	private Date sendtime;

	/** 快递公司名字 */
	private String expressname;

	/** 发货类型（客户还是内部） */
	private String way;


	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getSendname() {
		return this.sendname;
	}

	public void setSendname(String sendname) {
		this.sendname = sendname;
	}

	public String getSendphone() {
		return this.sendphone;
	}

	public void setSendphone(String sendphone) {
		this.sendphone = sendphone;
	}

	public String getSendaddress() {
		return this.sendaddress;
	}

	public void setSendaddress(String sendaddress) {
		this.sendaddress = sendaddress;
	}

	public String getReceivename() {
		return this.receivename;
	}

	public void setReceivename(String receivename) {
		this.receivename = receivename;
	}

	public String getReceivephone() {
		return this.receivephone;
	}

	public void setReceivephone(String receivephone) {
		this.receivephone = receivephone;
	}

	public String getReceiveaddress() {
		return this.receiveaddress;
	}

	public void setReceiveaddress(String receiveaddress) {
		this.receiveaddress = receiveaddress;
	}

	public String getExpresswo() {
		return this.expresswo;
	}

	public void setExpresswo(String expresswo) {
		this.expresswo = expresswo;
	}

	public Integer getState() {
		return this.state;
	}

	public void setState(Integer state) {
		this.state = state;
	}

	public Date getSendtime() {
		return this.sendtime;
	}

	public void setSendtime(Date sendtime) {
		this.sendtime = sendtime;
	}

	public String getExpressname() {
		return this.expressname;
	}

	public void setExpressname(String expressname) {
		this.expressname = expressname;
	}

	public String getWay() {
		return this.way;
	}

	public void setWay(String way) {
		this.way = way;
	}

}
